package com.k.base.jdk.anno.demo1;

/**
 * @author k
 */
@ClassAnno("User class")
public class User extends BaseUser{
    @ExcelAnno(name = "name", order = 2)
    private String name;
    @ExcelAnno(name = "id",order = 1)
    private String id;
    @ExcelAnno(name = "sex", order = 3)
    private Integer sex;
    public String userEmail;

    public User() {
    }

    public User(String id, String name, Integer sex) {
        this.id = id;
        this.name = name;
        this.sex = sex;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    @MethodAnno(name = "mq")
    public void testMethod(){
        System.out.println("testMethod");
    }
}
